home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global ppl, advance, foes
- set the memberNum of sprite getAt(ppl, 1) to member(the memberNum of sprite getAt(ppl, 1) + 1, 2)
- set the locV of sprite getAt(ppl, 1) to the locV of sprite getAt(ppl, 1) + 17
- if sprite(getAt(ppl, 1)).flipH = 0 then
- set the locH of sprite getAt(ppl, 1) to the locH of sprite getAt(ppl, 1) + 17
- else
- set the locH of sprite getAt(ppl, 1) to the locH of sprite getAt(ppl, 1) - 17
- end if
- if (advance = 6) or (advance = 7) then
- if getAt(foes, 1) < 175 then
- setAt(foes, 1, 180)
- chkhit(getAt(ppl, 2), 175, 180, 2, 1, 207)
- end if
- if getAt(foes, 2) < 175 then
- setAt(foes, 2, 180)
- chkhit(getAt(ppl, 3), 175, 180, 3, 2, 207)
- end if
- end if
- end
-